Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / Capacity Property


In This Topic
    Capacity Property
    In This Topic
    Gets or sets the total number of elements the internal data structure can hold without resizing.
    Syntax
    'Declaration
     
    Public Property Capacity As Integer
    'Usage
     
    Dim instance As ListBase(Of T)
    Dim value As Integer
     
    instance.Capacity = value
     
    value = instance.Capacity
    public int Capacity {get; set;}

    Property Value

    The number of elements that the ListBase<T> can contain before resizing is required.
    See Also